﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000EF1 RID: 3825
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueGetVirtualItemInfo : IMessage<RogueGetVirtualItemInfo>, IMessage, IEquatable<RogueGetVirtualItemInfo>, IDeepCloneable<RogueGetVirtualItemInfo>, IBufferMessage
	{
		// Token: 0x1700309A RID: 12442
		// (get) Token: 0x0600AB96 RID: 43926 RVA: 0x001D05DD File Offset: 0x001CE7DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueGetVirtualItemInfo> Parser
		{
			get
			{
				return RogueGetVirtualItemInfo._parser;
			}
		}

		// Token: 0x1700309B RID: 12443
		// (get) Token: 0x0600AB97 RID: 43927 RVA: 0x001D05E4 File Offset: 0x001CE7E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueGetVirtualItemInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700309C RID: 12444
		// (get) Token: 0x0600AB98 RID: 43928 RVA: 0x001D05F6 File Offset: 0x001CE7F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueGetVirtualItemInfo.Descriptor;
			}
		}

		// Token: 0x0600AB99 RID: 43929 RVA: 0x001D05FD File Offset: 0x001CE7FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGetVirtualItemInfo()
		{
		}

		// Token: 0x0600AB9A RID: 43930 RVA: 0x001D0605 File Offset: 0x001CE805
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGetVirtualItemInfo(RogueGetVirtualItemInfo other) : this()
		{
			this.aPAINNEEPIF_ = other.aPAINNEEPIF_;
			this.jFGLBIPMPNA_ = other.jFGLBIPMPNA_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600AB9B RID: 43931 RVA: 0x001D0636 File Offset: 0x001CE836
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGetVirtualItemInfo Clone()
		{
			return new RogueGetVirtualItemInfo(this);
		}

		// Token: 0x1700309D RID: 12445
		// (get) Token: 0x0600AB9C RID: 43932 RVA: 0x001D063E File Offset: 0x001CE83E
		// (set) Token: 0x0600AB9D RID: 43933 RVA: 0x001D0646 File Offset: 0x001CE846
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint APAINNEEPIF
		{
			get
			{
				return this.aPAINNEEPIF_;
			}
			set
			{
				this.aPAINNEEPIF_ = value;
			}
		}

		// Token: 0x1700309E RID: 12446
		// (get) Token: 0x0600AB9E RID: 43934 RVA: 0x001D064F File Offset: 0x001CE84F
		// (set) Token: 0x0600AB9F RID: 43935 RVA: 0x001D0657 File Offset: 0x001CE857
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint JFGLBIPMPNA
		{
			get
			{
				return this.jFGLBIPMPNA_;
			}
			set
			{
				this.jFGLBIPMPNA_ = value;
			}
		}

		// Token: 0x0600ABA0 RID: 43936 RVA: 0x001D0660 File Offset: 0x001CE860
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueGetVirtualItemInfo);
		}

		// Token: 0x0600ABA1 RID: 43937 RVA: 0x001D066E File Offset: 0x001CE86E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueGetVirtualItemInfo other)
		{
			return other != null && (other == this || (this.APAINNEEPIF == other.APAINNEEPIF && this.JFGLBIPMPNA == other.JFGLBIPMPNA && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ABA2 RID: 43938 RVA: 0x001D06AC File Offset: 0x001CE8AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.APAINNEEPIF != 0U)
			{
				num ^= this.APAINNEEPIF.GetHashCode();
			}
			if (this.JFGLBIPMPNA != 0U)
			{
				num ^= this.JFGLBIPMPNA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ABA3 RID: 43939 RVA: 0x001D0704 File Offset: 0x001CE904
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ABA4 RID: 43940 RVA: 0x001D070C File Offset: 0x001CE90C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ABA5 RID: 43941 RVA: 0x001D0718 File Offset: 0x001CE918
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.JFGLBIPMPNA != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.JFGLBIPMPNA);
			}
			if (this.APAINNEEPIF != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.APAINNEEPIF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ABA6 RID: 43942 RVA: 0x001D0774 File Offset: 0x001CE974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.APAINNEEPIF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.APAINNEEPIF);
			}
			if (this.JFGLBIPMPNA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.JFGLBIPMPNA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ABA7 RID: 43943 RVA: 0x001D07CC File Offset: 0x001CE9CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueGetVirtualItemInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.APAINNEEPIF != 0U)
			{
				this.APAINNEEPIF = other.APAINNEEPIF;
			}
			if (other.JFGLBIPMPNA != 0U)
			{
				this.JFGLBIPMPNA = other.JFGLBIPMPNA;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600ABA8 RID: 43944 RVA: 0x001D081C File Offset: 0x001CEA1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600ABA9 RID: 43945 RVA: 0x001D0828 File Offset: 0x001CEA28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.APAINNEEPIF = input.ReadUInt32();
					}
				}
				else
				{
					this.JFGLBIPMPNA = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040045AE RID: 17838
		private static readonly MessageParser<RogueGetVirtualItemInfo> _parser = new MessageParser<RogueGetVirtualItemInfo>(() => new RogueGetVirtualItemInfo());

		// Token: 0x040045AF RID: 17839
		private UnknownFieldSet _unknownFields;

		// Token: 0x040045B0 RID: 17840
		public const int APAINNEEPIFFieldNumber = 15;

		// Token: 0x040045B1 RID: 17841
		private uint aPAINNEEPIF_;

		// Token: 0x040045B2 RID: 17842
		public const int JFGLBIPMPNAFieldNumber = 14;

		// Token: 0x040045B3 RID: 17843
		private uint jFGLBIPMPNA_;
	}
}
